package com.rent.member.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ums_member")
@ApiModel(value = "UmsMember对象", description = "UmsMember")
public class UmsMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("公众号openid")
    @TableField("openid")
    private String openid;

    @ApiModelProperty("会员编号")
    @TableField("member_no")
    private String memberNo;

    @ApiModelProperty("用户名")
    @TableField("username")
    private String username;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("用户token")
    @TableField("token")
    private String token;

    @ApiModelProperty("公众号appid")
    @TableField("appid")
    private String appid;

    @TableField("is_valid")
    private Integer isValid;

    @ApiModelProperty("1.正常用户 2.匿名绑卡用户")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("是否VIP")
    @TableField("is_vip")
    private Integer isVip;

    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;
}
